package com.xpchenfrank.test.jdk8;

import lombok.Data;

import java.math.BigDecimal;

/**
 * @author xpchen
 * @time 2018/8/17 15:42
 * @Description
 * @copyright Wuxi Yazuo ,Ltd.copyright 2015-2025
 */
@Data
public class Item {
    private String name;

    private Integer qty;

    private BigDecimal price;

    public Item(String name, Integer qty, BigDecimal price) {
        this.name = name;
        this.qty = qty;
        this.price = price;
    }
}
